package com.broada.component.flexcom.settingpage.compt.obj
{
	import com.broada.component.flexcom.settingpage.compt.IItemSetter;

	public class BaseCompt
	{
		public function BaseCompt()
		{
		}
		
		private var _type:uint;
		
		private var _entity:IItemSetter;
		
		private var _category:String;
		
		private var _name:String;
		
		private var _realname:String;

		[Bindable]
		public function get type():uint
		{
			return _type;
		}

		public function set type(value:uint):void
		{
			_type = value;
		}

		[Bindable]
		public function get entity():IItemSetter
		{
			return _entity;
		}

		public function set entity(value:IItemSetter):void
		{
			_entity = value;
		}

		[Bindable]
		public function get category():String
		{
			return _category;
		}

		public function set category(value:String):void
		{
			_category = value;
		}

		[Bindable]
		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		[Bindable]
		public function get value():String
		{
			return this._entity.itemText;
		}

		public function set value(value:String):void
		{
			this._entity.itemText = value;
		}

		public function get realname():String
		{
			return _realname;
		}

		public function set realname(value:String):void
		{
			_realname = value;
		}


	}
}